﻿namespace Redis
{
    public class CacheConstants
    {
        /// <summary>
        /// Expire in hours of all Clancf cache
        /// </summary>
        public const int CLANCF_EXPIRE_HOURS = 72;

        /// <summary>
        /// Clan all info. 0 - ClanCF Id
        /// </summary>
        public const string CLANCF_ALL_INFO_KEY_FORMAT = "ClanCF_All_Info_Key_{0}";

        /// <summary>
        /// Clan basic info. 0 - ClanCF Id
        /// </summary>
        public const string CLANCF_BASIC_INFO_KEY_FORMAT = "ClanCF_Basic_Info_Key_{0}";

        /// <summary>
        /// Clan layer mark. 0 - ClanCF Id
        /// </summary>
        public const string CLANCF_LOGO_LAYER_KEY_FORMAT = "ClanCF_Logo_Layer_Key_{0}";

        /// <summary>
        /// Clan all members. 0 - ClanCF Id
        /// </summary>
        public const string CLANCF_MEMBERS_KEY_FORMAT = "ClanCF_Members_Key_{0}";

        /// <summary>
        /// All members are invited to clan. 0 - ClanCF Id
        /// </summary>
        public const string CLANCF_INVITE_MEMBER_KEY_FORMAT = "ClanCF_Invite_Members_Key_{0}";

        /// <summary>
        /// All request from members to clan. 0 - ClanCF Id
        /// </summary>
        public const string CLANCF_REQUEST_MEMBER_KEY_FORMAT = "ClanCF_Request_Members_Key_{0}";

        /// <summary>
        /// ClanCF Note Key format. 0 - ClanCF Id
        /// </summary>
        public const string CLANCF_NOTE_KEY_FORMAT = "ClanCF_Note_Key_{0}";

        /// <summary>
        /// Member info Key format. 0 - Paygate Id
        /// </summary>
        public const string MEMBER_INFO_KEY_FORMAT = "Member_Info_Key_{0}";

        /// <summary>
        /// Top public photo Key format.
        /// </summary>
        public const string TOP_PUBLIC_PHOTO_FORMAT = "Top_Public_Photo";

        /// <summary>
        /// All public photo Key format.
        /// </summary>
        public const string ALL_PUBLIC_PHOTO_FORMAT = "All_Public_Photo";

        /// <summary>
        /// All public photo Key format.
        /// </summary>
        public const string TOP_LASTEST_CLANFCF_FORMAT = "TopLastestClanCF";

        /// <summary>
        /// Alliance all info. 0 - ClanCF Id
        /// </summary>
        public const string ALLIANCE_ALL_INFO_KEY_FORMAT = "Alliance_All_Info_Key_{0}";

        /// <summary>
        /// Alliance basic info. 0 - ClanCF Id
        /// </summary>
        public const string ALLIANCE_BASIC_INFO_KEY_FORMAT = "Alliance_Basic_Info_Key_{0}";

        /// <summary>
        /// Clan all members. 0 - ClanCF Id
        /// </summary>
        public const string ALLIANCE_MEMBERS_KEY_FORMAT = "Alliance_Members_Key_{0}";

        /// <summary>
        /// All members are invited to clan. 0 - ClanCF Id
        /// </summary>
        public const string ALLIANCE_INVITE_MEMBER_KEY_FORMAT = "Alliance_Invite_Members_Key_{0}";

        /// <summary>
        /// All request from members to clan. 0 - ClanCF Id
        /// </summary>
        public const string ALLIANCE_REQUEST_MEMBER_KEY_FORMAT = "Alliance_Request_Members_Key_{0}";

        /// <summary>
        /// Member info Key format. 0 - Paygate Id
        /// </summary>
        public const string ALLIANCE_MEMBER_INFO_KEY_FORMAT = "Alliance_Member_Info_Key_{0}";

        /// <summary>
        /// Member external data info Key format. 0 - Paygate Id
        /// </summary>
        public const string ALLIANCE_MEMBER_DATA_INFO_KEY_FORMAT = "Alliance_Member_Data_Info_Key_{0}";
    }
}
